package wepbean;

import common.DBHandle;

public class Game_access_logBean {
	  private String log_id;
	  private String model;
	  private String url;
	  private String date;
	  private String ip;
	public String getLog_id() {
		return log_id;
	}
	public void setLog_id(String log_id) {
		this.log_id = log_id;
	}
	public String getModel() {
		return model;
	}
	public void setModel(String model) {
		this.model = model;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	 public void infor() {    
		   String sql ="insert into game_access_log(model,url,date,ip)values('"+this.model+"','"+this.url+"','"+this.date+"','"+this.ip+"')";
		   System.out.println("<game2.0>");
		   System.out.println(sql);
		   System.out.println("<game2.0>");
		   DBHandle.updateSql(sql);         
	 
	}
}
